//
//  AppMgr.h
//  CarCare
//
//  Created by ileo on 14-9-28.
//  Copyright (c) 2014年 baozun. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AdverticePageModel.h"

#define SCREEN [ScreenMgr sharedInstance]

@interface ScreenMgr : NSObject

+ (instancetype)sharedInstance;

@property (nonatomic, strong) UIViewController *currentViewController;

//配置
-(void)config;

-(void)showMainScreen;
//错误日志控制台
-(void)showDebug;
//错误日志控制台的添加text
-(void)debugAddMessage:(NSString *)message;

-(void)changeToLoginScreen;
-(void)startWelcomeScreen;

-(void)showRightScreen;

-(void)clear;

//切换到行程页面
- (void)changePageToWay;

//
-(void)viewController:(UIViewController *)viewController presentWebViewControllerWithModel:(AdverticePageModel *)model close:(void (^)())close;

-(void)viewController:(UIViewController *)viewController pushWebViewControllerWithModel:(AdverticePageModel *)model;

@end


